package com.lirh.mysql.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lirh.mysql.entity.Reply;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ReplyDao extends BaseMapper<Reply> {
    @Select("select * from reply where tieziid = #{id}")
    public List<Reply> selectAll(@Param("id")int id);
}
